package com.work.saturn.bean;

import com.immo.libcommon.base.BaseBean;

/**
 * @author Administrator
 * @content
 * @date 2018/8/29
 */
public class TokenMsgBean extends BaseBean {

    /**
     * payload : {"txId":"31179b444a8725f8747a411fec95e5bff71b484b462a7dc4ad66259568b139ee","blockNum":"38","payload":{"model":"Earth.Token","name":"GZH","symbol":"GZH","decimals":5,"amount":1000000,"description":"Earth base token GZH","mintageAccountId":"admin","gasAccountId":"6efa4360-0c42-4ed9-bfdc-4e58a146d265","gasMin":0.1,"gasPercentage":0.005}}
     */

    private PayloadBeanX payload;

    public PayloadBeanX getPayload() {
        return payload;
    }

    public void setPayload(PayloadBeanX payload) {
        this.payload = payload;
    }

    public static class PayloadBeanX {
        /**
         * txId : 31179b444a8725f8747a411fec95e5bff71b484b462a7dc4ad66259568b139ee
         * blockNum : 38
         * payload : {"model":"Earth.Token","name":"GZH","symbol":"GZH","decimals":5,"amount":1000000,"description":"Earth base token GZH","mintageAccountId":"admin","gasAccountId":"6efa4360-0c42-4ed9-bfdc-4e58a146d265","gasMin":0.1,"gasPercentage":0.005}
         */

        private String txId;
        private String blockNum;
        private PayloadBean payload;

        public String getTxId() {
            return txId;
        }

        public void setTxId(String txId) {
            this.txId = txId;
        }

        public String getBlockNum() {
            return blockNum;
        }

        public void setBlockNum(String blockNum) {
            this.blockNum = blockNum;
        }

        public PayloadBean getPayload() {
            return payload;
        }

        public void setPayload(PayloadBean payload) {
            this.payload = payload;
        }

        public static class PayloadBean {
            /**
             * model : Earth.Token
             * name : GZH
             * symbol : GZH
             * decimals : 5
             * amount : 1000000
             * description : Earth base token GZH
             * mintageAccountId : admin
             * gasAccountId : 6efa4360-0c42-4ed9-bfdc-4e58a146d265
             * gasMin : 0.1
             * gasPercentage : 0.005
             */

            private String model;
            private String name;
            private String symbol;
            private String decimals;
            private String amount;
            private String description;
            private String mintageAccountId;
            private String gasAccountId;
            private String gasMin;
            private String gasPercentage;

            public String getRamMin() {
                return ramMin;
            }

            public void setRamMin(String ramMin) {
                this.ramMin = ramMin;
            }

            private String ramMin;

            public String getRamPercentage() {
                return ramPercentage;
            }

            public void setRamPercentage(String ramPercentage) {
                this.ramPercentage = ramPercentage;
            }

            private String ramPercentage;

            public String getRamAccountId() {
                return ramAccountId == null ? "" : ramAccountId;
            }

            public void setRamAccountId(String ramAccountId) {
                this.ramAccountId = ramAccountId;
            }

            private String ramAccountId;

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSymbol() {
                return symbol;
            }

            public void setSymbol(String symbol) {
                this.symbol = symbol;
            }

            public String getDecimals() {
                return decimals;
            }

            public void setDecimals(String decimals) {
                this.decimals = decimals;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getMintageAccountId() {
                return mintageAccountId;
            }

            public void setMintageAccountId(String mintageAccountId) {
                this.mintageAccountId = mintageAccountId;
            }

            public String getGasAccountId() {
                return gasAccountId;
            }

            public void setGasAccountId(String gasAccountId) {
                this.gasAccountId = gasAccountId;
            }

            public String getGasMin() {
                return gasMin;
            }

            public void setGasMin(String gasMin) {
                this.gasMin = gasMin;
            }

            public String getGasPercentage() {
                return gasPercentage;
            }

            public void setGasPercentage(String gasPercentage) {
                this.gasPercentage = gasPercentage;
            }
        }
    }
}
